<?php
/**
 * --------------------------------------------------------------------
 * MCore框架
 * 作者：阿枫，QQ：52037872，Email：nczy520@gmail.com
 * --------------------------------------------------------------------
 *
 * SVN revision information:
 * @version $Revision: 50 $:
 * @author  $Author: zy $:
 * @date      $Date: 2013-11-09 19:34:15 +0800 (星期六, 09 十一月 2013) $:
 * @url         $HeadURL: svn://vps.mdeve.com/web_mcore/manage/function/global.func.php $:
 */
class _DatabaseClass extends __basic_def {

    /**
     * 数据库状态
     */
    function _statistics(){
        global $_M;

        $_M->db();
        $row = $_M->db->query("show status");

        $breadcrumb = array(
            "系统设置" => "#",
            "系统模块管理" => "#",
            "数据库运行状态" => "",
        );

        $_M->template();
        $_M->template->load(MANAGE_PATH. "/templates/options/databse_statistics");
        $_M->template->process_block("list", $row);
        $_M->template->insert_html(_generate_breadcrumb($breadcrumb));
        $_M->template->display();
    }


}